package maintain

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/maintain/v1"
)

func (c *ControllerV1) LoginLogList(ctx context.Context, req *v1.LoginLogListReq) (res *v1.LoginLogListRes, err error) {
	res = &v1.LoginLogListRes{}
	res.Rows, res.Total, err = service.LoginLog().List(ctx, &req.LoginLogListInput)
	return
}
